package com.health.entity.pojo.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.apache.commons.math3.genetics.Fitness;

/**
 * @Description
 * @Author konglz
 * @Data 2023/4/19 14:45
 */
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class QueryAppointRegisterByDoctorDTO {

    private Integer doctorId;

    private Integer currentPage;

    private Integer pageSize;

    private String workTime;

    private String appointDate;

    public Integer getCurrentPage() {
        return currentPage == null ? 1 : currentPage;
    }

    public Integer getPageSize() {
        return pageSize == null ? 4 : pageSize;
    }

    public Integer getDoctorId() {
        return doctorId;
    }

    public String getAppointDate() {
        return appointDate;
    }

    public String getWorkTime() {
        return workTime;
    }
}
